<?php
namespace Transform;

class DistrictTransform extends Transform
{
    public function listview()
    {
        return [
            'allows' => ['code', 'name', 'children'],
            'children' => ['trans' => ['name' => 'District', 'method' => 'listview']],
        ];
    }

    public function simple()
    {
        return [
            'allows' => ['code', 'name'],
        ];
    }

   
}
